package com.zafu.entity;

/**
 * ClassName: HomeStoreInfo
 * Package: com.zafu.entity
 * Description:
 *
 * @Author Wang
 * @Create 2024/12/1 11:02
 * @Version 1.0
 */
public class StoreInfo {
    long id; // id, 主键，在数据库中自动增长
    String image; // 图片以字符串标签形式存储，对应android中的drawable文件中的图片
    String name;  //店名
    String deliveryTime;  //配送时间
    String distance;  //配送距离
    double rating;   //评分
    int sales;      // 销售量
    int minPrice;   //起送价
    String deliveryCost;   //配送费
    String recommend;  //推荐语
    int campusSend;  //是否校园送

    public StoreInfo() {
    }

    public StoreInfo(long id, String image, String name, String deliveryTime, String distance, double rating, int sales, int minPrice, String deliveryCost, String recommend, int campusSend) {
        this.id = id;
        this.image = image;
        this.name = name;
        this.deliveryTime = deliveryTime;
        this.distance = distance;
        this.rating = rating;
        this.sales = sales;
        this.minPrice = minPrice;
        this.deliveryCost = deliveryCost;
        this.recommend = recommend;
        this.campusSend = campusSend;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(String deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public double getRating() {
        return rating;
    }

    public void setRating(double rating) {
        this.rating = rating;
    }

    public int getSales() {
        return sales;
    }

    public void setSales(int sales) {
        this.sales = sales;
    }

    public int getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(int minPrice) {
        this.minPrice = minPrice;
    }

    public String getDeliveryCost() {
        return deliveryCost;
    }

    public void setDeliveryCost(String deliveryCost) {
        this.deliveryCost = deliveryCost;
    }

    public String getRecommend() {
        return recommend;
    }

    public void setRecommend(String recommend) {
        this.recommend = recommend;
    }

    public int getCampusSend() {
        return campusSend;
    }

    public void setCampusSend(int campusSend) {
        this.campusSend = campusSend;
    }
}